const state = {
  asyncRoutes: [],   // 动态路由
  routes: []         // 全部路由
}

const mutations = {
  SET_ASYNCROUTES(state, data) {
    state.asyncRoutes = data
  },
  SET_ROUTES(state, data) {
    state.routes = data
  }
}

const actions = {

}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}

